package com.example.springpeizhi.Controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


public class PropertiesController {
    @Value("${xmy.key}")
    private int key;


    public String getP(){
        return "获取配置文件"+ key;
    }
}
